<!DOCTYPE html>
<html>
<head>
    <meta charset="utf‐8">
    <title>Hello World!</title>
</head>
<body>
Hello ${name}!
<br>
${stuMap.stu1.name}
<br>
遍历学生列表
<#list stus as stu>
    学生姓名:${stu.name}<br>
    学生年龄:${stu.age}<br>
    学生钱数:${stu.money}<br>
    学生生日:<#if stu.birthday??>${stu.birthday?datetime}</#if><br><br><br>
    好友:<#if (stu.friends)??>
        <#list stu.friends as friend>
            学生姓名:${friend.name}<br>
            学生年龄:${friend.age}<br>
            学生钱数:${friend.money}<br>
            学生生日:<#if friend.birthday??>${friend.birthday?datetime}</#if><br><br><br>
        </#list>
        <#else >
            您很可怜,您没有朋友
    </#if><br><br>
</#list>

fruits长度:${fruits?size}
fruits字符串:${fruits?join(",")}

<#list fruits as fruit>
    ${fruit?upper_case?html}<#sep>,</#sep>
    ${fruit?html}<#sep>,</#sep>
    ${fruit?cap_first}<#sep>,</#sep>
    ${fruit?cap_first}<#sep>,</#sep>
</#list>
<#list fruits>
    Fruits:
    <ul>
        <#items as fruit>
            <li>序号:${fruit?index}</li>
            <li>序号:${fruit?counter}</li>
            <li>${fruit}</li>
        </#items>
    </ul>
    <#else >
    We have no fruits
</#list>
<#include "./copyright_footer.html"/>
<h1>${(stuMap.stu2.name)!"老罗"}</h1>
</body>
</html>